package cn.iocoder.yudao.module.resource.controller.admin.tag.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 资源标签 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ResourceTagRespVO {

    @Schema(description = "标签ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @ExcelProperty("标签ID")
    private Long id;

    @Schema(description = "标签名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "可爱")
    @ExcelProperty("标签名称")
    private String name;

    @Schema(description = "标签颜色", example = "#FF5733")
    @ExcelProperty("标签颜色")
    private String color;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("排序")
    private Integer sort;

    @Schema(description = "使用次数", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    @ExcelProperty("使用次数")
    private Integer usageCount;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
